﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ANMCMaster.Master" AutoEventWireup="true" CodeBehind="EditPage.aspx.cs" Inherits="AllNations.WebAppAdmin.EditPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ANHeaderContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ANPageHeader" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ANBodyContent" runat="server">
    <div class="content" style="padding: 10px 0px 0px 10px;">
        <h2>Page settings</h2>
        <table cellpadding="0" border="0" style="width: 100%">
            <tr style="background-color: White">
                <td style="white-space: nowrap; padding: 4px;"><strong>Page URL:</strong></td>
                <td style="width: 100%; padding: 4px;"><asp:Label ID="lblPageUrl" runat="server" /></td>
            </tr>
            <tr style="background-color: White; vertical-align: top">
                <td style="white-space: nowrap; padding: 4px; padding-top: 8px">
                    <strong>HTML Title:</strong></td>
                <td style="color: gray; padding: 4px;">
                    <asp:TextBox ID="txtHtmlTitle" runat="server" Columns="60" CssClass="FieldR2" MaxLength="128"></asp:TextBox><br />
                    This title appears on browser page title. (<strong>Default:</strong> <asp:Label ID="lblDefaultTitle" runat="server" />)</td>
            </tr>
            <tr style="background-color: White; vertical-align: top">
                <td style="white-space: nowrap; padding: 4px; padding-top: 8px">
                    <strong>Page Title:</strong></td>
                <td style="color: Gray; padding: 4px;">
                    <asp:TextBox ID="txtPageTitle" runat="server" CssClass="FieldR2" Columns="60" MaxLength="128" /><br />
                    This title appears on the top of the page.</td>
            </tr>
            <tr style="background-color: White; vertical-align: top">
                <td style="white-space: nowrap; padding: 4px; padding-top: 8px">
                    <strong>Page Description:</strong></td>
                <td style="color: Gray; padding: 4px;">
                    <asp:TextBox ID="txtPageDescription" runat="server" CssClass="MultiLineFieldR2" Width="85%" Rows="3" MaxLength="1024" TextMode="MultiLine" /><br />
                    (<strong>Default:</strong> <asp:Label ID="lblDefaultDescription" runat="server" />)</td>
            </tr>
            <tr style="background-color: White; vertical-align: top">
                <td style="white-space: nowrap; padding: 4px; padding-top: 4px">
                    <strong>Header Image</strong><br />
                    (658 x 170 in pixels)
                </td>
                <td style="color: Gray; padding: 4px;">
                    <asp:CheckBox ID="cbIncludeHeaderImage" runat="server" Text="Include Page Header Image" /><br />
                    <asp:FileUpload ID="fuHeaderImage" runat="server" Width="85%" /><br />
                    <asp:Image ID="imgHeaderImage" runat="server" ImageUrl="/Images/genericPageHeader.png" Width="450" />
                </td>
            </tr>
            <tr style="background-color: White; vertical-align: top">
                <td style="white-space: nowrap; padding: 4px; padding-top: 8px">
                    <strong>Keywords:</strong></td>
                <td style="color: Gray; padding: 4px;">
                    <asp:TextBox ID="txtPageKeywords" runat="server" CssClass="MultiLineFieldR2" Width="85%" Rows="3" MaxLength="1024" TextMode="MultiLine" /><br />
                    (<strong>Default:</strong> <asp:Label ID="lblPageKeywords" runat="server" />)</td>
            </tr>
            <tr style="background-color: White">
                <td>&nbsp;</td>
                <td style="padding: 4px;"><asp:CheckBox ID="cbRobotNoIndex" runat="server" Text="Prevent search engine robots from indexing this page" /></td>
            </tr>
            <tr style="background-color: White">
                <td>&nbsp;</td>
                <td style="padding: 4px;"><asp:CheckBox ID="cbRobotNoFollow" runat="server" Text="Prevent search engine robots from following a link" /></td>
            </tr>
            <tr style="background-color: White">
                <td>&nbsp;</td>
                <td style="padding: 4px;"><asp:CheckBox ID="cbGoogleNoArchive" runat="server" Text="Prevent Google from caching this page" /></td>
            </tr>
            <tr runat="server" id="trPageTypeConfiguration" visible="false" style="vertical-align: top;">
                <td style="white-space: nowrap; padding-top: 10px;"><asp:Label ID="lblConfigurationSectionName" runat="server" Font-Bold="true" /></td>
                <td style="padding: 4px;"><asp:PlaceHolder ID="pldDynamicConfiguration" runat="server" /></td>
            </tr>
            <tr style="background-color: White; vertical-align: top">
                <td>&nbsp;</td>
                <td style="padding: 4px;"><asp:Button ID="btnUpdate" runat="server" Text="Update" CssClass="ButtonR2" UseSubmitBehavior="false" OnClick="btnUpdate_Click" /><br />
                    <asp:Label ID="lblErrorMesg" runat="server" ForeColor="Red"></asp:Label></td>
            </tr>
        </table>
    </div>
</asp:Content>
